package com.itheima.health.mapper;

import com.itheima.health.entity.TOrder;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author cpanda
 * @since 2024-01-29
 */
public interface TOrderMapper extends BaseMapper<TOrder> {

    @Select("select count(setmeal_id) from t_order where setmeal_id =#{id}")
    Integer selectStem(Integer id);
}
